package com.system.insurance.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import com.system.model.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 分销等级
 * </p>
 *
 * @author WS
 * @since 2024-05-28
 */
@Data
@ApiModel(description = "分销等级")
@TableName("distribution")
//@EqualsAndHashCode(callSuper = false)
public class Distribution extends BaseEntity {

    private static final long serialVersionUID = 1L;

//    /**
//     * 主键
//     */
//      @TableId(value = "id", type = IdType.AUTO)
//    private Integer id;

    /**
     * 子级用户Id
     */
    @ApiModelProperty(value = "子级用户Id")
    @TableField("child_id")
    private Integer childId;

    /**
     * 父级用户Id
     */
    @ApiModelProperty(value = "父级用户Id")
    @TableField("parent_id")
    private Integer parentId;

    /**
     * 级别
     */
    @ApiModelProperty(value = "级别")
    @TableField("level")
    private Integer level;

//    /**
//     * 创建时间
//     */
//    private LocalDate createTime;
//
//    /**
//     * 更新时间
//     */
//    private LocalDate updateTime;


}
